import {get,post} from '@/puigins/request.js'

export function addComment(form){
	return post("comment/addComment",form)
}

export function GetCommentListByPage(blogId,page,pageSize){
	if(isNaN(blogId)){
		throw new Error("isNaN(blogId)")
	}
	return get("comment/getCommentList/"+blogId,{page,pageSize})
}